package com.woniuxy.service;

import com.woniuxy.controller.form.AccountRuleForm;
import com.woniuxy.controller.info.AccountRuleInfo;
import com.woniuxy.exception.DdException;
import com.woniuxy.model.AccountRole;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hujianying
 * @since 2022-03-29
 */
public interface AccountRoleService extends IService<AccountRole> {


    AccountRuleInfo findRuleIdByAccountId(Integer id);

    Boolean updateAccountRule(AccountRuleForm arf) throws DdException;
}
